<!-- <?php die(); ?>  -->
<!-- THEM CMS configuration file -->
<config debug="false" staging="true">
    <domain></domain>
    <currency>
        <symbol>￥</symbol>
        <code>RMB</code>
    </currency>
    <tax>
        <code>GST</code>
        <rate>10</rate>
    </tax>
    <ecarde>
        <openid>1B7999BAA6AC4BC186EA4D64AE6B329F</openid>
        <secret>BAT0ZG</secret>
    </ecarde>
    <company>
        <name>澳睿跑</name>
        <business_name>北京澳睿跑教育咨询有限公司</business_name>
        <abn>64 610 609 146</abn>
        <address>
            <street>澳睿跑大厦</street>
            <suburb>朝阳区朝来高科技产业园2号楼</suburb>
            <state>北京市</state>
            <postcode>100012</postcode>
        </address>
        <phone>010-5750-3275</phone>
        <fax>010-5750-3275</fax>
        <website>readysteadygokids.com.cn</website>
        <email>info@readysteadygokids.com.cn</email>
        <email_from>noreply@readysteadygokids.com.cn</email_from>
        <email_contact>info@readysteadygokids.com.cn</email_contact>
        <email_orders>info@readysteadygokids.com.cn</email_orders>
        <logo>logo.png</logo>
    </company>
    <smtp>
        <host>smtp.exmail.qq.com</host>
        <port>25</port>
        <username>noreply@readysteadygokids.com.cn</username>
        <password>Apt123</password>
    </smtp>
    <sms>
        <username></username>
        <password></password>
        <origin></origin>
    </sms>
    <database>
        <host>localhost</host>
        <user>root</user>
        <password>root</password>
        <dbname>newrsgk</dbname>
    </database>
    <resource>
        <url>file-manager</url>
        <template>filemanager.tpl</template>
    </resource>
    <sequence>
        <table>tbl_sequence</table>
    </sequence>
    <group name="基本功能管理">
        <section level="1" levelonly="1" subsection="true">
            <showlist>FALSE</showlist>
            <url>general</url>
            <title>基本设置</title>
            <type>CUSTOM</type>
            <subsection>
                <url>dashboard</url>
                <title>仪表盘</title>
                <template>dashboard/dashboard.tpl</template>
                <process>
                    <file>admin/includes/processes/processes-dashboard.php</file>
                </process>
                <!-- <process><file>admin/includes/processes/processes-news.php</file></process> -->
            </subsection>
            <subsection>
                <url>reports</url>
                <title>报告</title>
                <template>reports.tpl</template>
                <process>
                    <file>admin/includes/processes/processes-reports.php</file>
                </process>
            </subsection>
            <subsection>
                <url>newlist</url>
                <template>new-list.tpl</template>
                <process>
                    <file>admin/includes/processes/processes-news-controller.php</file>
                </process>
            </subsection>
            <subsection>
                <url>newchange</url>
                <template>new-edit.tpl</template>
                <process>
                    <file>admin/includes/processes/processes-news-controller.php</file>
                </process>
            </subsection>
            <subsection>
                <url>new</url>
                <title>新闻信息管理</title>
                <template>new-management.tpl</template>
                <process>
                    <file>admin/includes/processes/processes-news-management.php</file>
                </process>
            </subsection>
        </section>
        <section level="2" levelonly="2">
            <showlist>FALSE</showlist>
            <url>news-information</url>
            <title>新闻和信息</title>
            <type>TABLE</type>
            <table>
                <name>tbl_listing</name>
                <id>listing_id</id>
                <field>listing_name</field>
                <deleted>listing_deleted</deleted>
                <published>listing_published</published>
                <orderby>news_start_date DESC,listing_order</orderby>
                <where>listing_published = '1' AND (listing_type_id = '7' OR listing_type_id = '8') AND listing_flag1 = '0'</where>
                <extends>
                    <table>tbl_news</table>
                    <linkfield>listing_id</linkfield>
                    <field>news_listing_id</field>
                </extends>
            </table>
            <list_template>news-information.tpl</list_template>
            <edit_template>news-details.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="2" levelonly="2" subsection="true">
            <showlist>FALSE</showlist>
            <url>general</url>
            <title>基本设置</title>
            <type>CUSTOM</type>
            <subsection>
                <url>dashboard</url>
                <title>Dashboard</title>
                <template>dashboard/dashboard-franchisee.tpl</template>
                <process>
                    <file>admin/includes/processes/processes-dashboard-franchisee.php</file>
                </process>
                <!-- <process><file>admin/includes/processes/processes-news.php</file></process> -->
            </subsection>
            <subsection>
                <url>reports</url>
                <title>报告</title>
                <template>franchisee-reports.tpl</template>
                <process>
                    <file>admin/includes/processes/processes-reports.php</file>
                </process>
            </subsection>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>page</url>
            <title>页面管理</title>
            <type>LISTING</type>
            <type_id>1</type_id>
            <options>
                <field>
                    <name>listing_parent_id</name>
                    <table>tbl_listing</table>
                    <id>listing_object_id</id>
                    <reference>listing_name</reference>
                    <where>listing_parent_flag = '1' AND listing_type_id = '1' AND listing_published = '1'</where>
                </field>
            </options>
            <associated>
                <name>gallery</name>
                <table>tbl_gallery</table>
                <linkfield>listing_id</linkfield>
                <field>gallery_listing_id</field>
            </associated>
            <associated>
                <name>tags</name>
                <table>tbl_tag</table>
                <linkfield>listing_id</linkfield>
                <field>tag_object_id</field>
                <where>tag_object_table = 'tbl_listing'</where>
            </associated>
            <log>
                <table>tbl_listing</table>
                <id>listing_id</id>
                <field>listing_object_id</field>
            </log>
            <list_template>list.tpl</list_template>
            <edit_template>edit_page.tpl</edit_template>
            <custom_template field="listing_object_id" value="1">custom_home_edit_page.tpl</custom_template>
            <custom_template field="listing_object_id" value="23">edit_page_with_one_content.tpl</custom_template>
            <!-- login -->
            <custom_template field="listing_object_id" value="10">edit_page_with_one_content.tpl</custom_template>
            <!-- parties-and-events -->
            <custom_template field="listing_object_id" value="13">edit_page_with_one_content.tpl</custom_template>
            <!-- testimonials -->
            <custom_template field="listing_object_id" value="9">edit_page_with_one_content.tpl</custom_template>
            <!-- locations -->
            <custom_template field="listing_object_id" value="26">edit_page_with_one_content.tpl</custom_template>
            <!-- International -->
            <custom_template field="listing_object_id" value="14">edit_page_with_one_content.tpl</custom_template>
            <!-- products -->
            <custom_template field="listing_object_id" value="15">edit_page_with_one_content.tpl</custom_template>
            <!-- enrol -->
            <custom_template field="listing_object_id" value="24">edit_page_with_one_content.tpl</custom_template>
            <!-- my account -->
            <custom_template field="listing_object_id" value="157">edit_page_with_one_content.tpl</custom_template>
            <!-- login-register -->
            <custom_template field="listing_object_id" value="96">edit_page_with_one_content.tpl</custom_template>
            <!-- checkout completed -->
            <custom_template field="listing_object_id" value="12">redirect_edit_page.tpl</custom_template>
            <!-- franchises -->
            <custom_template field="listing_object_id" value="2">redirect_edit_page.tpl</custom_template>
            <!-- our-program -->
            <custom_template field="listing_object_id" value="95">edit_page_with_one_content.tpl</custom_template>
            <!-- 404 -->
            <custom_template field="listing_object_id" value="21">edit_page_with_one_content.tpl</custom_template>
            <!-- Thank you -->
            <custom field="listing_object_id" value="8">
                <template>custom_partner_edit_page.tpl</template>
                <associated>
                    <name>partner</name>
                    <table>tbl_partner</table>
                    <linkfield>listing_id</linkfield>
                    <field>partner_listing_id</field>
                    <orderby>partner_order</orderby>
                </associated>
            </custom>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>testimonials</url>
            <title>教师榜样</title>
            <type>LISTING</type>
            <type_id>5</type_id>
            <root_parent_id>13</root_parent_id>
            <associated>
                <name>tags</name>
                <table>tbl_tag</table>
                <linkfield>listing_id</linkfield>
                <field>tag_object_id</field>
                <where>tag_object_table = 'tbl_listing'</where>
            </associated>
            <log>
                <table>tbl_listing</table>
                <id>listing_id</id>
                <field>listing_object_id</field>
            </log>
            <list_template>list.tpl</list_template>
            <edit_template>edit_testimonials.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>international</url>
            <title>国际化</title>
            <type>TABLE</type>
            <root_parent_id>26</root_parent_id>
            <table>
                <name>tbl_location</name>
                <id>location_id</id>
                <field>location_name</field>
                <deleted>location_deleted</deleted>
                <published>location_published</published>
                <where>location_listing_id = 26</where>
                <orderby>location_name, location_published</orderby>
                <log>
                    <table>tbl_location</table>
                    <id>location_id</id>
                    <field>location_object_id</field>
                </log>
            </table>
            <list_template>list.tpl</list_template>
            <edit_template>edit_location_international.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="2" levelonly="2">
            <showlist>FALSE</showlist>
            <url>view-franchises</url>
            <title>特许经营商</title>
            <type>TABLE</type>
            <table>
                <name>tbl_franchisee</name>
                <id>franchisee_id</id>
                <field>franchisee_name</field>
                <deleted>franchisee_deleted</deleted>
                <published>franchisee_published</published>
                <orderby>franchisee_name, franchisee_published</orderby>
                <associated inlist="true">
                    <name>users</name>
                    <table>tbl_access</table>
                    <linkfield>franchisee_object_id</linkfield>
                    <field>access_franchisee_id</field>
                    <where>access_flag = '1' AND admin_level = 2</where>
                    <extends>
                        <table>tbl_admin</table>
                        <linkfield>access_admin_id</linkfield>
                        <field>admin_id</field>
                    </extends>
                    <where>admin_deleted IS NULL</where>
                </associated>
                <associated inlist="true">
                    <name>locations</name>
                    <table>tbl_location</table>
                    <linkfield>franchisee_object_id</linkfield>
                    <field>location_franchisee_id</field>
                    <where>location_listing_id = 9</where>
                </associated>
            </table>
            <list_template>franchises-listing.tpl</list_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="2" levelonly="2">
            <showlist>FALSE</showlist>
            <url>instructors</url>
            <title>教师管理</title>
            <type>TABLE</type>
            <table>
                <name>tbl_admin</name>
                <id>admin_id</id>
                <field>admin_name</field>
                <deleted>admin_deleted</deleted>
                <where>admin_level = '3'</where>
                <orderby>admin_name, admin_surname</orderby>
                <log>
                    <table>tbl_admin</table>
                    <id>admin_id</id>
                    <field>admin_id</field>
                </log>
                <associated inlist="true">
                    <name>accesses</name>
                    <table>tbl_access</table>
                    <linkfield>admin_id</linkfield>
                    <field>access_admin_id</field>
                    <associated inlist="true">
                        <id>franchisee_id</id>
                        <name>franchisee</name>
                        <table>tbl_franchisee</table>
                        <linkfield>access_franchisee_id</linkfield>
                        <field>franchisee_object_id</field>
                        <where>franchisee_published = '1'</where>
                    </associated>
                </associated>
                <options>
                    <field>
                        <name>franchisee</name>
                        <table>tbl_franchisee</table>
                        <id>franchisee_object_id</id>
                        <reference>franchisee_name</reference>
                        <where>franchisee_published = '1'</where>
                    </field>
                </options>
            </table>
            <list_template>list_instructors.tpl</list_template>
            <edit_template>edit_instructors.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>system-emails</url>
            <title>系统邮件</title>
            <type>TABLE</type>
            <table>
                <name>tbl_email_additional</name>
                <id>email_additional_id</id>
                <field>email_additional_name</field>
                <deleted>email_additional_deleted</deleted>
                <published>email_additional_published</published>
                <orderby>email_additional_order</orderby>
            </table>
            <list_template>list_email_sys.tpl</list_template>
            <edit_template>edit_email_sys.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>hear-about-us</url>
            <title>推广渠道</title>
            <type>LISTING</type>
            <type_id>10</type_id>
            <root_parent_id>0</root_parent_id>
            <where>listing_type_id = '10'</where>
            <options>
                <field recursive="true">
                    <name>listing_parent_id</name>
                    <table>tbl_listing</table>
                    <id>listing_object_id</id>
                    <reference>listing_name</reference>
                    <where>listing_parent_flag = '1' AND listing_type_id = '10' AND listing_published = '1'</where>
                </field>
            </options>
            <list_template>list_noviewbtn.tpl</list_template>
            <edit_template>edit_hear_about_us.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>users</url>
            <title>管理员</title>
            <type>TABLE</type>
            <table>
                <name>tbl_admin</name>
                <id>admin_id</id>
                <field>admin_name</field>
                <deleted>admin_deleted</deleted>
                <!-- <where>admin_level = '1'</where> -->
                <orderby>admin_level ASC, admin_name ASC, admin_surname ASC</orderby>
                <log>
                    <table>tbl_admin</table>
                    <id>admin_id</id>
                    <field>admin_id</field>
                </log>
                <associated inlist="true">
                    <name>accesses</name>
                    <table>tbl_access</table>
                    <linkfield>admin_id</linkfield>
                    <field>access_admin_id</field>
                    <associated inlist="true">
                        <id>franchisee_id</id>
                        <name>franchisee</name>
                        <table>tbl_franchisee</table>
                        <linkfield>access_franchisee_id</linkfield>
                        <field>franchisee_object_id</field>
                        <where>franchisee_published = '1'</where>
                    </associated>
                </associated>
                <options>
                    <field>
                        <name>franchisee</name>
                        <table>tbl_franchisee</table>
                        <id>franchisee_object_id</id>
                        <reference>franchisee_name</reference>
                        <where>franchisee_published = '1'</where>
                    </field>
                </options>
            </table>
            <list_template>list_admin.tpl</list_template>
            <edit_template>edit_admin.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="3">
            <showlist>FALSE</showlist>
            <url notlist="true" append_admin_id="true">personal-details</url>
            <title>个人信息</title>
            <type>TABLE</type>
            <table>
                <name>tbl_admin</name>
                <id>admin_id</id>
                <field>admin_name</field>
                <deleted>admin_deleted</deleted>
                <orderby>admin_name, admin_surname</orderby>
                <log>
                    <table>tbl_admin</table>
                    <id>admin_id</id>
                    <field>admin_id</field>
                </log>
            </table>
            <edit_template>edit_personaldetails.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
    </group>
    <group name="加盟商管理">
        <section level="1">
            <showlist>FALSE</showlist>
            <url>noticeboard</url>
            <title>公告牌</title>
            <type>MESSAGEBOARD</type>
            <type_id>9</type_id>
            <root_parent_id></root_parent_id>
            <franchiseefield></franchiseefield>
            <where>listing_type_id = '9'</where>
            <orderby>listing_created DESC</orderby>
            <associated inlist="true">
                <name>tags</name>
                <table>tbl_tag</table>
                <linkfield>listing_object_id</linkfield>
                <field>tag_object_id</field>
                <where>tag_object_table = 'tbl_messageboard'</where>
            </associated>
            <list_template>noticeboard.tpl</list_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
            <process>
                <file>admin/includes/processes/processes-search-noticeboard.php</file>
            </process>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>franchises</url>
            <title>特许经营商</title>
            <type>TABLE</type>
            <franchiseefield>franchisee_id</franchiseefield>
            <table>
                <name>tbl_franchisee</name>
                <id>franchisee_id</id>
                <field>franchisee_name</field>
                <deleted>franchisee_deleted</deleted>
                <published>franchisee_published</published>
                <orderby>franchisee_name, franchisee_published</orderby>
                <associated>
                    <name>users</name>
                    <table>tbl_access</table>
                    <linkfield>franchisee_object_id</linkfield>
                    <field>access_franchisee_id</field>
                    <extends>
                        <table>tbl_admin</table>
                        <linkfield>access_admin_id</linkfield>
                        <field>admin_id</field>
                    </extends>
                    <where>admin_deleted IS NULL</where>
                </associated>
                <log>
                    <table>tbl_franchisee</table>
                    <id>franchisee_id</id>
                    <field>franchisee_object_id</field>
                </log>
                <options>
                    <field ecarde="true">
                        <name>state</name>
                        <action>Get_Provinces</action>
                        <data>
                            <userAccount>10000</userAccount>
                        </data>
                    </field>
                </options>
            </table>
            <list_template>list.tpl</list_template>
            <edit_template>edit_franchise.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>instructors</url>
            <title>教师管理</title>
            <type>TABLE</type>
            <table>
                <name>tbl_admin</name>
                <id>admin_id</id>
                <field>admin_name</field>
                <deleted>admin_deleted</deleted>
                <where>admin_level = '3'</where>
                <orderby>admin_name, admin_surname</orderby>
                <log>
                    <table>tbl_admin</table>
                    <id>admin_id</id>
                    <field>admin_id</field>
                </log>
                <associated inlist="true">
                    <name>accesses</name>
                    <table>tbl_access</table>
                    <linkfield>admin_id</linkfield>
                    <field>access_admin_id</field>
                    <associated inlist="true">
                        <id>franchisee_id</id>
                        <name>franchisee</name>
                        <table>tbl_franchisee</table>
                        <linkfield>access_franchisee_id</linkfield>
                        <field>franchisee_object_id</field>
                        <where>franchisee_published = '1'</where>
                    </associated>
                </associated>
                <options>
                    <field>
                        <name>franchisee</name>
                        <table>tbl_franchisee</table>
                        <id>franchisee_object_id</id>
                        <reference>franchisee_name</reference>
                        <where>franchisee_published = '1'</where>
                    </field>
                </options>
            </table>
            <list_template>list_instructors.tpl</list_template>
            <edit_template>edit_instructors.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>resources</url>
            <title>信息资源</title>
            <type>LISTING</type>
            <type_id>6</type_id>
            <root_parent_id>0</root_parent_id>
            <associated inlist="true">
                <name>files</name>
                <table>tbl_files</table>
                <linkfield>listing_id</linkfield>
                <field>files_listing_id</field>
                <orderby>files_order</orderby>
            </associated>
            <associated>
                <name>tags</name>
                <table>tbl_tag</table>
                <linkfield>listing_id</linkfield>
                <field>tag_object_id</field>
                <where>tag_object_table = 'tbl_listing'</where>
            </associated>
            <log>
                <table>tbl_listing</table>
                <id>listing_id</id>
                <field>listing_object_id</field>
            </log>
            <options>
                <field recursive="true">
                    <name>listing_parent_id</name>
                    <table>tbl_listing</table>
                    <id>listing_object_id</id>
                    <reference>listing_name</reference>
                    <where>listing_parent_flag = '1' AND listing_type_id = '6' AND listing_published = '1'</where>
                </field>
            </options>
            <list_template>list_resources.tpl</list_template>
            <edit_template>edit_resources.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
<!--        <section level="1">-->
<!--            <url>news</url>-->
<!--            <title>新闻</title>-->
<!--            <type>LISTING</type>-->
<!--            <type_id>7</type_id>-->
<!--            <root_parent_id></root_parent_id>-->
<!--            <orderby>news_start_date DESC</orderby>-->
<!--            <extends>-->
<!--                <table>tbl_news</table>-->
<!--                <linkfield>listing_id</linkfield>-->
<!--                <field>news_listing_id</field>-->
<!--            </extends>-->
<!--            <associated>-->
<!--                <name>tags</name>-->
<!--                <table>tbl_tag</table>-->
<!--                <linkfield>listing_id</linkfield>-->
<!--                <field>tag_object_id</field>-->
<!--                <where>tag_object_table = 'tbl_listing'</where>-->
<!--            </associated>-->
<!--            <log>-->
<!--                <table>tbl_listing</table>-->
<!--                <id>listing_id</id>-->
<!--                <field>listing_object_id</field>-->
<!--            </log>-->
<!--            <list_template>list_news.tpl</list_template>-->
<!--            <edit_template>edit_news.tpl</edit_template>-->
<!--        </section>-->
        <section level="1">
            <showlist>FALSE</showlist>
            <url>important-dates</url>
            <title>重要日期</title>
            <type>LISTING</type>
            <type_id>8</type_id>
            <root_parent_id></root_parent_id>
            <orderby>listing_order</orderby>
            <extends>
                <table>tbl_news</table>
                <linkfield>listing_id</linkfield>
                <field>news_listing_id</field>
            </extends>
            <associated>
                <name>tags</name>
                <table>tbl_tag</table>
                <linkfield>listing_id</linkfield>
                <field>tag_object_id</field>
                <where>tag_object_table = 'tbl_listing'</where>
            </associated>
            <log>
                <table>tbl_listing</table>
                <id>listing_id</id>
                <field>listing_object_id</field>
            </log>
            <list_template>list_noviewbtn.tpl</list_template>
            <edit_template>edit_important_dates.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
    </group>
    <group name="会员">
        <section level="2" subsection="true">
            <showlist>FALSE</showlist>
            <url>members</url>
            <title>会员</title>
            <type>CUSTOM</type>
            <subsection level="2">
                <url>new</url>
                <title>新建会员</title>
                <template>new-member.tpl</template>
                <additional>
                    <tag>product_page</tag>
                    <name>store</name>
                    <data>products</data>
                </additional>
                <options>
                    <field>
                        <name>states</name>
                        <table>tbl_region</table>
                        <id>region_id</id>
                        <reference>region_name</reference>
                        <where>region_id mod 10000 = 0</where>
                        <orderby></orderby>
                    </field>
                    <field recursive="true">
                        <name>hearabout</name>
                        <table>tbl_listing</table>
                        <id>listing_object_id</id>
                        <value>listing_url</value>
                        <reference>listing_name</reference>
                        <where>listing_type_id = '10' AND listing_published = '1'</where>
                        <orderby>listing_order,listing_name</orderby>
                    </field>
                </options>
                <process>
                    <file>admin/includes/processes/processes-news.php</file>
                </process>
            </subsection>
            <subsection level="2" hidden="true">
                <url>re-enrol</url>
                <title>重新登记</title>
                <template>new-member.tpl</template>
                <additional>
                    <tag>product_page</tag>
                    <name>store</name>
                    <data>products</data>
                </additional>
                <options>
                    <field>
                        <name>suburbs</name>
                        <table>tbl_postcode</table>
                        <id>postcode_id</id>
                        <value>postcode_id</value>
                        <reference>postcode_suburb</reference>
                        <reference>postcode_state</reference>
                        <reference>postcode_postcode</reference>
                        <orderby>postcode_suburb</orderby>
                    </field>
                    <field recursive="true">
                        <name>hearabout</name>
                        <table>tbl_listing</table>
                        <id>listing_object_id</id>
                        <value>listing_url</value>
                        <reference>listing_name</reference>
                        <where>listing_type_id = '10' AND listing_published = '1'</where>
                        <orderby>listing_order,listing_name</orderby>
                    </field>
                </options>
                <process>
                    <file>admin/includes/processes/processes-news.php</file>
                </process>
            </subsection>
            <subsection level="2" hidden="true">
                <url>buy-merchandise</url>
                <title>购买商品</title>
                <template>buy-merchandise.tpl</template>
                <additional>
                    <tag>product_page</tag>
                    <name>store</name>
                    <data>products</data>
                </additional>
                <process>
                    <file>admin/includes/processes/processes-news.php</file>
                </process>
            </subsection>
            <subsection level="2" hidden="true">
                <url>make-payment</url>
                <title>付款</title>
                <template>make-payment.tpl</template>
                <additional>
                    <tag>product_page</tag>
                    <name>store</name>
                    <data>products</data>
                </additional>
                <options>
                    <field>
                        <name>payment_types</name>
                        <table>tbl_paytype</table>
                        <id>paytype_id</id>
                        <value>paytype_id</value>
                        <reference>paytype_name</reference>
                        <orderby>paytype_name</orderby>
                    </field>
                </options>
                <process>
                    <file>admin/includes/processes/get-franchisees-list.php</file>
                </process>
                <process>
                    <file>admin/includes/processes/processes-news.php</file>
                </process>
            </subsection>
            <subsection level="2" hidden="true">
                <url>change-payment-method</url>
                <title>变更支付方式</title>
                <template>change-payment-method.tpl</template>
                <process>
                    <file>admin/includes/processes/processes-payment-method.php</file>
                </process>
            </subsection>
            <subsection level="2" hidden="true">
                <url>convert</url>
                <title>变更学生</title>
                <template>new-member.tpl</template>
                <additional>
                    <tag>product_page</tag>
                    <name>store</name>
                    <data>products</data>
                </additional>
                <options>
                    <field>
                        <name>states</name>
                        <table>tbl_region</table>
                        <id>region_id</id>
                        <value>region_name</value>
                        <reference>region_name</reference>
                        <where>region_id mod 10000 = 0</where>
                        <orderby></orderby>
                    </field>
<!--                    <field>-->
<!--                        <name>suburbs</name>-->
<!--                        <table>tbl_postcode</table>-->
<!--                        <id>postcode_id</id>-->
<!--                        <value>postcode_id</value>-->
<!--                        <reference>postcode_suburb</reference>-->
<!--                        <reference>postcode_state</reference>-->
<!--                        <reference>postcode_postcode</reference>-->
<!--                        <orderby>postcode_suburb</orderby>-->
<!--                    </field>-->
                    <field recursive="true">
                        <name>hearabout</name>
                        <table>tbl_listing</table>
                        <id>listing_object_id</id>
                        <value>listing_url</value>
                        <reference>listing_name</reference>
                        <where>listing_type_id = '10' AND listing_published = '1'</where>
                        <orderby>listing_order,listing_name</orderby>
                    </field>
                </options>
                <process>
                    <file>admin/includes/processes/processes-news.php</file>
                </process>
            </subsection>
            <subsection level="2">
                <url>existing</url>
                <title>现有会员</title>
                <template>existing-member.tpl</template>
                <options>
                    <field>
                        <name>states</name>
                        <table>tbl_region</table>
                        <id>region_id</id>
                        <value>region_name</value>
                        <reference>region_name</reference>
                        <where>region_id mod 10000 = 0</where>
                        <orderby></orderby>
                    </field>
                    <field recursive="true">
                        <name>hearabout</name>
                        <table>tbl_listing</table>
                        <id>listing_object_id</id>
                        <value>listing_url</value>
                        <reference>listing_name</reference>
                        <where>listing_type_id = '10' AND listing_published = '1'</where>
                        <orderby>listing_order,listing_name</orderby>
                    </field>
                </options>
                <process>
                    <file>admin/includes/processes/processes-news.php</file>
                </process>
            </subsection>
            <subsection level="2">
                <url>communication</url>
                <title>沟通</title>
                <template>member-communication.tpl</template>
                <process>
                    <file>admin/includes/processes/processes-news.php</file>
                </process>  
            </subsection>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>orders</url>
            <title>订单管理</title>
            <type>TABLE</type>
            <type_id>2</type_id>
            <limit level="1">500</limit>
            <table>
                <name>tbl_cart</name>
                <id>cart_id</id>
                <field>cart_closed_date</field>
                <deleted>cart_deleted</deleted>
                <where notedit="true">DATE(cart_closed_date) BETWEEN DATE_SUB(CURDATE(), INTERVAL 1 MONTH) AND CURDATE() </where>
                <orderby>cart_closed_date DESC</orderby>
                <associated>
                    <id>cartitem_id</id>
                    <name>items</name>
                    <table>tbl_cartitem</table>
                    <linkfield>cart_id</linkfield>
                    <field>cartitem_cart_id</field>
                    <associated>
                        <id>cartitem_attr_id</id>
                        <name>attributes</name>
                        <table>tbl_cartitem_attr</table>
                        <linkfield>cartitem_id</linkfield>
                        <field>cartitem_attr_cartitem_id</field>
                    </associated>
                </associated>
                <associated inlist="true">
                    <id>user_id</id>
                    <name>user</name>
                    <table>tbl_user</table>
                    <linkfield>cart_user_id</linkfield>
                    <field>user_id</field>
                </associated>
                <associated inlist="true">
                    <id>payment_id</id>
                    <name>payment</name>
                    <table>tbl_payment</table>
                    <linkfield>cart_id</linkfield>
                    <field>payment_cart_id</field>
                    <where>payment_status != 'F'</where>
                    <associated>
                        <id>order_id</id>
                        <name>order</name>
                        <table>tbl_order</table>
                        <linkfield>payment_id</linkfield>
                        <field>order_payment_id</field>
                        <orderby>order_modified DESC</orderby>
                    </associated>
                    <associated>
                        <id>debt_id</id>
                        <name>debt</name>
                        <table>tbl_debt</table>
                        <linkfield>payment_id</linkfield>
                        <field>debt_payment_id</field>
                        <orderby>debt_modified</orderby>
                        <extends>
                            <table>tbl_payment</table>
                            <linkfield>debt_paid_payment_id</linkfield>
                            <field>payment_id</field>
                            <where>(payment_status = 'A' OR payment_status IS NULL)</where>
                        </extends>
                    </associated>
                    <associated>
                        <id>address_id</id>
                        <name>billing_address</name>
                        <table>tbl_address</table>
                        <linkfield>payment_billing_address_id</linkfield>
                        <field>address_id</field>
                    </associated>
                    <associated>
                        <id>address_id</id>
                        <name>shipping_address</name>
                        <table>tbl_address</table>
                        <linkfield>payment_shipping_address_id</linkfield>
                        <field>address_id</field>
                    </associated>
                </associated>
                <options>
                    <field inlist="true">
                        <name>status</name>
                        <table>tbl_status</table>
                        <id>status_id</id>
                        <reference>status_name</reference>
                        <orderby>status_order</orderby>
                    </field>
                </options>
            </table>
            <list_template>list_order.tpl</list_template>
            <edit_template>edit_order.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
    </group>
    <group name="课程管理">
        <section level="3" subsection="true">
            <showlist>FALSE</showlist>
            <url>record</url>
            <title>记录</title>
            <type>CUSTOM</type>
            <subsection level="3">
                <url>attendance</url>
                <title>出勤</title>
                <template>attendance.tpl</template>
                <process>
                    <file>admin/includes/processes/processes-news.php</file>
                </process>
            </subsection>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>terms</url>
            <title>学期</title>
            <type>TABLE</type>
            <franchiseefield>franchisee_id</franchiseefield>
            <table>
                <name>tbl_term</name>
                <id>term_id</id>
                <field>term_name</field>
                <deleted>term_deleted</deleted>
                <published>term_published</published>
                <orderby>term_end_date DESC, term_start_date DESC</orderby>
                <associated>
                    <name>classterm</name>
                    <table>tbl_classterm</table>
                    <linkfield>term_id</linkfield>
                    <field>classterm_term_id</field>
                </associated>
                <log>
                    <table>tbl_term</table>
                    <id>term_id</id>
                    <field>term_object_id</field>
                </log>
                <options>
                    <field>
                        <name>states</name>
                        <table>tbl_region</table>
                        <id>region_id</id>
                        <reference>region_name</reference>
                        <where>region_id mod 10000 = 0</where>
                        <orderby></orderby>
                    </field>
                    <field>
                        <name>termcategories</name>
                        <table>tbl_termcategory</table>
                        <id>termcategory_id</id>
                        <reference>termcategory_name</reference>
                        <orderby>termcategory_name</orderby>
                    </field>
                    <field>
                        <name>termlist</name>
                        <table>tbl_term</table>
                        <id>term_id</id>
                        <reference>term_name</reference>
                        <extra>term_region</extra>
                        <where>term_published = '1'</where>
                        <orderby>term_name DESC</orderby>
                    </field>
                    <field>
                        <name>classes</name>
                        <table>tbl_class</table>
                        <id>class_object_id</id>
                        <extends>
                            <table>tbl_location</table>
                            <linkfield>class_location_id</linkfield>
                            <field>location_object_id</field>
                            <where>location_deleted IS NULL</where>
                        </extends>
                        <extends>
                            <table>tbl_agegroup</table>
                            <linkfield>class_agegroup_id</linkfield>
                            <field>agegroup_id</field>
                            <where>agegroup_deleted IS NULL</where>
                        </extends>
                        <reference>class_name</reference>
                        <extra>location_state</extra>
                        <extra>location_suburb</extra>
                        <extra>class_weekday</extra>
                        <extra>class_start_time</extra>
                        <extra>agegroup_shortname</extra>
                        <where>class_published = '1'</where>
                        <orderby>location_state, location_suburb, FIELD(class_weekday,'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'), class_start_time</orderby>
                    </field>
                </options>
            </table>
            <list_template>list_term.tpl</list_template>
            <edit_template>edit_term.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="2">
            <showlist>FALSE</showlist>
            <url>classes</url>
            <title>课程</title>
            <type>TABLE</type>
            <table>
                <name>tbl_class</name>
                <id>class_id</id>
                <field>class_name</field>
                <deleted>class_deleted</deleted>
                <published>class_published</published>
                <orderby>location_state, location_suburb, FIELD(class_weekday,'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'), class_start_time</orderby>
                <extends>
                    <table>tbl_location</table>
                    <linkfield>class_location_id</linkfield>
                    <field>location_object_id</field>
                </extends>
                <extends>
                    <table>tbl_agegroup</table>
                    <linkfield>class_agegroup_id</linkfield>
                    <field>agegroup_id</field>
                </extends>
                <associated>
                    <name>classinstructors</name>
                    <table>tbl_class_instructor</table>
                    <linkfield>class_id</linkfield>
                    <field>class_instructor_class_id</field>
                </associated>
                <associated>
                    <name>classtime</name>
                    <table>tbl_classtime</table>
                    <linkfield>class_id</linkfield>
                    <field>classtime_class_id</field>
                    <orderby>classtime_id</orderby>
                </associated>
                <log>
                    <table>tbl_class</table>
                    <id>class_id</id>
                    <field>class_object_id</field>
                </log>
                <refer>
                    <field associate="true" order="false">
                        <name>termclasses</name>
                        <table>
                            <![CDATA[(SELECT DISTINCT(classterm_class_id),IF(term_start_date < NOW() AND term_end_date > NOW(),1,0) AS current,CONCAT(term_name,IF(term_start_date < NOW() AND term_end_date > NOW(),'（当前学期）','')) AS term_name,term_deleted AS classterm_deleted,class_id,term_id FROM tbl_term LEFT JOIN tbl_classterm ON term_id = classterm_term_id LEFT JOIN tbl_class ON classterm_class_id = class_object_id LEFT JOIN tbl_location ON class_location_id = location_object_id WHERE classterm_published = 1 ) AS tbl_classterm]]>
                        </table>
                        <id>class_id</id>
                        <reference>term_name</reference>
                        <deleted>classterm_deleted</deleted>
                        <orderby>term_id,class_id</orderby>
                    </field>
                </refer>
                <options>
                    <field>
                        <name>locations</name>
                        <table>tbl_location</table>
                        <id>location_object_id</id>
                        <reference>location_name</reference>
                        <extra>location_suburb</extra>
                        <extra>location_state</extra>
                        <extra>location_franchisee_id</extra>
                        <where>location_published = '1' AND location_listing_id = '9'</where>
                        <orderby>location_state, location_name, location_published</orderby>
                    </field>
                    <field>
                        <name>agegroups</name>
                        <table>tbl_agegroup</table>
                        <id>agegroup_id</id>
                        <reference>agegroup_name</reference>
                        <orderby>agegroup_name</orderby>
                    </field>
                    <field>
                        <name>instructors</name>
                        <table>tbl_admin</table>
                        <id>admin_id</id>
                        <reference>admin_name</reference>
                        <reference>admin_surname</reference>
                        <reference>admin_email</reference>
                        <extra>access_id</extra>
                        <extra>access_franchisee_id</extra>
                        <where>admin_level > 1 AND access_deleted IS NULL AND access_flag = '1'</where>
                        <orderby>admin_name, admin_surname</orderby>
                        <extends>
                            <table>tbl_access</table>
                            <linkfield>admin_id</linkfield>
                            <field>access_admin_id</field>
                        </extends>
                    </field>
                    <field>
                        <name>products</name>
                        <table>tbl_product</table>
                        <id>product_object_id</id>
                        <reference>product_name</reference>
                        <where>product_published = '1'</where>
                        <orderby>product_name</orderby>
                    </field>
                </options>
            </table>
            <list_template>list_class.tpl</list_template>
            <edit_template>edit_class.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="2">
            <showlist>FALSE</showlist>
            <url>locations</url>
            <title>教学地点</title>
            <type>TABLE</type>
            <root_parent_id>9</root_parent_id>
            <franchiseefield>location_franchisee_id</franchiseefield>
<!--             <api>
                <id>Guid</id>
                <field>StoreName</field>
                <action>Get_ChainStorePagedV2</action>
                <data>
                    <userAccount>10000</userAccount>
                    <where>1=1</where>
                    <pageIndex>0</pageIndex>
                    <pageSize>50</pageSize>
                    <orderBy>storeName desc</orderBy>
                </data>
            </api> -->
            <table>
                <name>tbl_location</name>
                <id>location_id</id>
                <field>location_name</field>
                <deleted>location_deleted</deleted>
                <published>location_published</published>
                <where>location_listing_id = 9</where>
                <orderby>location_state, location_name, location_published</orderby>
                <extends>
                    <table>tbl_region</table>
                    <linkfield>location_region_id</linkfield>
                    <field>region_id</field>
                </extends>
                <log>
                    <table>tbl_location</table>
                    <id>location_id</id>
                    <field>location_object_id</field>
                </log>
                <options>
                    <field>
                        <name>franchisee</name>
                        <table>tbl_franchisee</table>
                        <id>franchisee_object_id</id>
                        <reference>franchisee_name</reference>
                        <where>franchisee_published = '1'</where>
                    </field>
                    <field>
                        <name>states</name>
                        <table>tbl_region</table>
                        <id>region_id</id>
                        <reference>region_name</reference>
                        <where>region_id mod 10000 = 0</where>
                        <orderby></orderby>
                    </field>
                    <field>
                        <name>suburbs</name>
                        <table>tbl_region</table>
                        <id>region_id</id>
                        <reference>region_name</reference>
                        <where>region_id &gt; 10000 and region_id 
    &lt; 12000</where>
                        <orderby></orderby>
                    </field>
                </options>
            </table>
            <list_template>list_location.tpl</list_template>
            <edit_template>edit_location.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>holidays</url>
            <title>假期</title>
            <type>TABLE</type>
            <franchiseefield>franchisee_id</franchiseefield>
            <table>
                <name>tbl_holiday</name>
                <id>holiday_id</id>
                <field>holiday_name</field>
                <deleted>holiday_deleted</deleted>
                <orderby>holiday_date DESC</orderby>
                <log>
                    <table>tbl_holiday</table>
                    <id>holiday_id</id>
                    <field>holiday_id</field>
                </log>
            </table>
            <list_template>list.tpl</list_template>
            <edit_template>edit_holiday.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
    </group>
    <group name="产品管理">
        <section level="1">
            <showlist>FALSE</showlist>
            <url>prodcat</url>
            <title>分类</title>
            <type>LISTING</type>
            <type_id>2</type_id>
            <root_parent_id>14</root_parent_id>
            <options>
                <field recursive="true">
                    <name>listing_parent_id</name>
                    <table>tbl_listing</table>
                    <id>listing_object_id</id>
                    <reference>listing_name</reference>
                    <where>listing_parent_flag = '1' AND listing_type_id = '2' AND listing_published = '1'</where>
                </field>
            </options>
            <associated>
                <name>tags</name>
                <table>tbl_tag</table>
                <linkfield>listing_id</linkfield>
                <field>tag_object_id</field>
                <where>tag_object_table = 'tbl_listing'</where>
            </associated>
            <log>
                <table>tbl_listing</table>
                <id>listing_id</id>
                <field>listing_object_id</field>
            </log>
            <list_template>list.tpl</list_template>
            <edit_template>edit_prodcategory.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="1">
            <showlist>FALSE</showlist>
            <url>products</url>
            <title>产品</title>
            <type>PRODUCT</type>
            <type_id>2</type_id>
            <root_parent_id>14</root_parent_id>
            <table>
                <name>tbl_product</name>
                <id>product_id</id>
                <field>product_name</field>
                <deleted>product_deleted</deleted>
                <extends>
                    <table>tbl_productspec</table>
                    <linkfield>product_id</linkfield>
                    <field>productspec_product_id</field>
                </extends>
                <associated>
                    <id>attribute_id</id>
                    <name>attribute</name>
                    <table>tbl_attribute</table>
                    <linkfield>product_id</linkfield>
                    <field>attribute_product_id</field>
                    <orderby>attribute_order ASC</orderby>
                    <associated>
                        <id>attr_value_id</id>
                        <name>attr_value</name>
                        <table>tbl_attr_value</table>
                        <linkfield>attribute_id</linkfield>
                        <field>attr_value_attribute_id</field>
                        <orderby>attr_value_order ASC</orderby>
                    </associated>
                </associated>
                <associated>
                    <name>gallery</name>
                    <table>tbl_gallery</table>
                    <linkfield>product_id</linkfield>
                    <field>gallery_product_id</field>
                </associated>
                <associated>
                    <name>tags</name>
                    <table>tbl_tag</table>
                    <linkfield>product_id</linkfield>
                    <field>tag_object_id</field>
                    <where>tag_object_table = 'tbl_product'</where>
                </associated>
                <associated>
                    <name>additional_category</name>
                    <table>tbl_additional_category</table>
                    <linkfield>product_id</linkfield>
                    <field>additional_category_product_id</field>
                </associated>
                <associated>
                    <name>qty_modifier</name>
                    <table>tbl_productqty</table>
                    <linkfield>product_id</linkfield>
                    <field>productqty_product_id</field>
                    <orderby>productqty_qty ASC</orderby>
                </associated>
                <options>
                    <field>
                        <name>product_object_id</name>
                        <table>tbl_product</table>
                        <id>product_object_id</id>
                        <reference>product_name</reference>
                        <where>product_published = '1'</where>
                        <orderby>product_name</orderby>
                    </field>
                    <field recursive="true">
                        <name>product_listing_id</name>
                        <table>tbl_listing</table>
                        <id>listing_object_id</id>
                        <reference>listing_name</reference>
                        <where>listing_parent_flag = '1' AND listing_type_id = '2' AND listing_published = '1'</where>
                    </field>
                </options>
                <log>
                    <table>tbl_product</table>
                    <id>product_id</id>
                    <field>product_object_id</field>
                </log>
            </table>
            <list_template>listall.tpl</list_template>
            <edit_template>edit_product.tpl</edit_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <!-- <section level="1"><showlist>FALSE</showlist><url>discounts</url><title>优惠码</title><type>TABLE</type><type_id>2</type_id><root_parent_id>0</root_parent_id><table><name>tbl_discount</name><id>discount_id</id><field>discount_name</field><deleted>discount_deleted</deleted><orderby>discount_id DESC</orderby><published>discount_published</published><options><field recursive="true"><name>categories</name><table>tbl_listing</table><id>listing_object_id</id><reference>listing_name</reference><where>listing_parent_flag = '1' AND listing_type_id = '2' AND listing_published = '1'</where></field><field><name>products</name><table>tbl_product</table><id>product_object_id</id><reference>product_name</reference><orderby>product_name AND product_published = '1'</orderby></field></options><log><table>tbl_discount</table><id>discount_id</id><field>discount_id</field></log></table><list_template>list_discount.tpl</list_template><edit_template>edit_discount.tpl</edit_template></section> -->
    </group>
    <group name="Resources">
        <section level="2" levelonly="2">
            <showlist>FALSE</showlist>
            <url>noticeboard</url>
            <title>公告牌</title>
            <type>MESSAGEBOARD</type>
            <type_id>9</type_id>
            <root_parent_id></root_parent_id>
            <franchiseefield></franchiseefield>
            <where>listing_type_id = '9'</where>
            <orderby>listing_created DESC</orderby>
            <associated inlist="true">
                <name>tags</name>
                <table>tbl_tag</table>
                <linkfield>listing_object_id</linkfield>
                <field>tag_object_id</field>
                <where>tag_object_table = 'tbl_messageboard'</where>
            </associated>
            <list_template>noticeboard.tpl</list_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
            <process>
                <file>admin/includes/processes/processes-search-noticeboard.php</file>
            </process>
        </section>
        <section level="2" levelonly="2">
            <showlist>FALSE</showlist>
            <url>resources-marketing</url>
            <title>营销</title>
            <type>LISTING</type>
            <type_id>6</type_id>
            <root_parent_id>0</root_parent_id>
            <!-- 190 -->
            <category_object_id>190</category_object_id>
            <where>listing_type_id = 6</where>
            <franchiseefield></franchiseefield>
            <associated inlist="true">
                <name>files</name>
                <table>tbl_files</table>
                <linkfield>listing_id</linkfield>
                <field>files_listing_id</field>
                <orderby>files_order</orderby>
            </associated>
            <list_template>list_franchises_resources.tpl</list_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="2" levelonly="2">
            <showlist>FALSE</showlist>
            <url>resources-operations</url>
            <title>操作</title>
            <type>LISTING</type>
            <type_id>6</type_id>
            <root_parent_id>0</root_parent_id>
            <!-- 191 -->
            <category_object_id>191</category_object_id>
            <where>listing_type_id = 6</where>
            <franchiseefield></franchiseefield>
            <associated inlist="true">
                <name>files</name>
                <table>tbl_files</table>
                <linkfield>listing_id</linkfield>
                <field>files_listing_id</field>
                <orderby>files_order</orderby>
            </associated>
            <list_template>list_franchises_resources.tpl</list_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="2" levelonly="2">
            <showlist>FALSE</showlist>
            <url>resources-hr</url>
            <title>人力资源</title>
            <type>LISTING</type>
            <type_id>6</type_id>
            <root_parent_id>0</root_parent_id>
            <!-- 192 -->
            <category_object_id>192</category_object_id>
            <where>listing_type_id = 6</where>
            <franchiseefield></franchiseefield>
            <associated inlist="true">
                <name>files</name>
                <table>tbl_files</table>
                <linkfield>listing_id</linkfield>
                <field>files_listing_id</field>
                <orderby>files_order</orderby>
            </associated>
            <list_template>list_franchises_resources.tpl</list_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
        <section level="2" levelonly="2">
            <showlist>FALSE</showlist>
            <url>resources-training</url>
            <title>训练</title>
            <type>LISTING</type>
            <type_id>6</type_id>
            <root_parent_id>0</root_parent_id>
            <!-- 193 -->
            <category_object_id>193</category_object_id>
            <where>listing_type_id = 6</where>
            <franchiseefield></franchiseefield>
            <associated inlist="true">
                <name>files</name>
                <table>tbl_files</table>
                <linkfield>listing_id</linkfield>
                <field>files_listing_id</field>
                <orderby>files_order</orderby>
            </associated>
            <list_template>list_franchises_resources.tpl</list_template>
            <process>
                <file>admin/includes/processes/processes-news.php</file>
            </process>
        </section>
    </group>
    <product_page name="store">
        <url>store</url>
        <pageID>14</pageID>
        <root_parent_id>14</root_parent_id>
        <type>2</type>
        <file>ProductClass</file>
        <table>
            <!-- This table will be the details table -->
            <name>tbl_listing</name>
            <field>listing_url</field>
            <!-- The field used to match the URL -->
            <associated>
                <name>gallery</name>
                <table>tbl_gallery</table>
                <linkfield>listing_id</linkfield>
                <field>gallery_listing_id</field>
            </associated>
            <tags>
                <name>associated_categories</name>
                <table>tbl_tag</table>
                <object_table>tbl_listing</object_table>
                <object_value>listing_name</object_value>
            </tags>
        </table>
        <template>category.tpl</template>
        <producttable>
            <id>product_id</id>
            <name>product_info</name>
            <table>tbl_product</table>
            <linkfield>listing_id</linkfield>
            <field>product_listing_id</field>
            <orderby>product_order ASC</orderby>
            <associated>
                <id>attribute_id</id>
                <name>attribute</name>
                <table>tbl_attribute</table>
                <linkfield>product_id</linkfield>
                <field>attribute_product_id</field>
                <orderby>attribute_order ASC</orderby>
                <associated>
                    <id>attr_value_id</id>
                    <name>attr_value</name>
                    <table>tbl_attr_value</table>
                    <linkfield>attribute_id</linkfield>
                    <field>attr_value_attribute_id</field>
                    <orderby>attr_value_order ASC</orderby>
                </associated>
            </associated>
            <associated>
                <name>gallery</name>
                <table>tbl_gallery</table>
                <linkfield>product_id</linkfield>
                <field>gallery_product_id</field>
                <orderby>gallery_ishero DESC</orderby>
            </associated>
            <template>product.tpl</template>
        </producttable>
    </product_page>
    <payment_gateway>
        <live_url></live_url>
        <test_url></test_url>
        <live>false</live>
        <!-- true when LIVE -->
        <merchant_id></merchant_id>
        <merchant_password></merchant_password>
        <surcharge_percentage>2</surcharge_percentage>
    </payment_gateway>
    <smartytemplate_config>
        <!-- This element contains the smarty template values -->
        <templates>/templates</templates>
        <templates_c>/templates_c</templates_c>
        <cache>/cache</cache>
        <configs>/configs</configs>
        <plugins>/plugins</plugins>
    </smartytemplate_config>
</config>